<!DOCTYPE html>
<html lang="zh-cn" xmlns:th="http://www.thymeleaf.org"  th:headers="utf-8">
<head>
    <meta charset="UTF-8">
    <title>测试上传demo</title>
</head>
<body>
<form th:action="@{/doma/uploadExcel}" method="post" enctype="multipart/form-data">
    <input type="file" name="file">
    <input type="submit" value="提交">
</form>
<a  th:href="@{/DowendDomas}">导出excel</a>
</body>
</html>